package com.hrc.rpc.common;

import io.netty.util.concurrent.Promise;
import lombok.Getter;

@Getter
public class RpcFuture<T> {

    private Promise<T> promise;
    private long timeout;

    RpcFuture() {
    }

    public RpcFuture(Promise<T> promise, long timeout) {
        this.promise = promise;
        this.timeout = timeout;
    }
}
